package com.ktgj.customer.service.impl;

import java.util.List;

import com.ktgj.customer.service.IClaimDelayinsuranceImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.customer.mapper.ClaimDelayinsuranceImageMapper;
import com.ktgj.customer.domain.ClaimDelayinsuranceImage;
import com.ktgj.customer.service.IClaimDelayinsuranceImageService;

/**
 * 保险理赔图片Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-06-17
 */
@Service
public class ClaimDelayinsuranceImageServiceImpl implements IClaimDelayinsuranceImageService
{
    @Autowired
    private ClaimDelayinsuranceImageMapper claimDelayinsuranceImageMapper;

    /**
     * 查询保险理赔图片
     * 
     * @param imageId 保险理赔图片ID
     * @return 保险理赔图片
     */
    @Override
    public ClaimDelayinsuranceImage selectClaimDelayinsuranceImageById(Long imageId)
    {
        return claimDelayinsuranceImageMapper.selectClaimDelayinsuranceImageById(imageId);
    }

    /**
     * 查询保险理赔图片列表
     * 
     * @param claimDelayinsuranceImage 保险理赔图片
     * @return 保险理赔图片
     */
    @Override
    public List<ClaimDelayinsuranceImage> selectClaimDelayinsuranceImageList(ClaimDelayinsuranceImage claimDelayinsuranceImage)
    {
        return claimDelayinsuranceImageMapper.selectClaimDelayinsuranceImageList(claimDelayinsuranceImage);
    }

    /**
     * 新增保险理赔图片
     * 
     * @param claimDelayinsuranceImage 保险理赔图片
     * @return 结果
     */
    @Override
    public int insertClaimDelayinsuranceImage(ClaimDelayinsuranceImage claimDelayinsuranceImage)
    {
        return claimDelayinsuranceImageMapper.insertClaimDelayinsuranceImage(claimDelayinsuranceImage);
    }

    /**
     * 修改保险理赔图片
     * 
     * @param claimDelayinsuranceImage 保险理赔图片
     * @return 结果
     */
    @Override
    public int updateClaimDelayinsuranceImage(ClaimDelayinsuranceImage claimDelayinsuranceImage)
    {
        return claimDelayinsuranceImageMapper.updateClaimDelayinsuranceImage(claimDelayinsuranceImage);
    }

    /**
     * 批量删除保险理赔图片
     * 
     * @param imageIds 需要删除的保险理赔图片ID
     * @return 结果
     */
    @Override
    public int deleteClaimDelayinsuranceImageByIds(Long[] imageIds)
    {
        return claimDelayinsuranceImageMapper.deleteClaimDelayinsuranceImageByIds(imageIds);
    }

    /**
     * 删除保险理赔图片信息
     * 
     * @param imageId 保险理赔图片ID
     * @return 结果
     */
    @Override
    public int deleteClaimDelayinsuranceImageById(Long imageId)
    {
        return claimDelayinsuranceImageMapper.deleteClaimDelayinsuranceImageById(imageId);
    }
}
